import Vue from 'vue';
import axios from "../../http/http.js";
import route from "../../routes.js";
import {
    Message
} from 'element-ui';
Vue.prototype.$axios = axios;
const state = {
  test:{}
}
const getters = {

}
const mutations = {
    testM(state, payload) {
      
        state.test = payload;
    }
}
const actions = {
    test(context, payload) {
     
        context.commit('testM',payload)
    }

}
export default {
    namespaced: true,
    state,
    getters,
    actions,
    mutations
}